/*
 * Marker.h
 *
 *  Created on: 11/lug/2014
 *      Author: va2013
 */

#ifndef MARKER_H_
#define MARKER_H_
#include <opencv2/opencv.hpp>
#include <opencv/cv.h>



using namespace std;
using namespace cv;
class Marker {
private:
	static const int INF = 1000000;
	vector<Rect>* regions;
	double meanValue;

public:
	Marker(int size, double meanValue=0);
	virtual ~Marker();
	void setRegion(int index, Rect roi);
	Rect getRegion(int index);
	Rect getTotalROI();
	int getRegionsSize();
	double getMeanValue();
	void setMeanValue(double);
};

#endif /* MARKER_H_ */
